package com.dotools.utils;

import android.os.Environment;

/** 
 * 
 */
public class SDCardUtils {

    public static boolean sdcardWriteable() {
        String state = Environment.getExternalStorageState();
        if(!Environment.MEDIA_MOUNTED.equals(state))
            return false;
        if(Environment.MEDIA_MOUNTED_READ_ONLY.equals(state))
            return false;
        return true;
    }
}
